package com.cykj.mapper;

import com.cykj.pojo.Comment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CommentMapper {
    List<Comment> getComments(@Param("foodsId") int foodsId, @Param("scenicId") int scenicId);
    int upComment(@Param("userName") String userName,
                  @Param("value")String value,
                  @Param("foodsId")String foodsId,
                  @Param("scenicId") int scenicId);
}
